package datastructure.linkedlist.sigle;

import datastructure.linkedlist.loop.CyLoopLinkedList;

/**
 * @author cyt
 * @create 2020-11-22 下午 10:14
 */
public class CyLinkedListTest {
    public static void main(String[] args) {
        CyLoopLinkedList<Integer> linkedList = new CyLoopLinkedList<>();
        linkedList.add(3);
        linkedList.add(32);
        linkedList.add(23);
        linkedList.add(2, 23);
        // 3 32 23
        // 3 32 23 23
        // 32 23 23
        linkedList.remove(0);
        System.out.println(linkedList);
    }
}
